home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 015a / 60envpat.zip / HERMENV.TXT < prev   
Text File  |  1993-05-11  |  2KB  |  76 lines

  1.  
  2.                      ┌──────The Hermit's Hole──────┐
  3.                      │ (703)    ╥   ╥  ╥    (703)  │
  4.                      │328-0028  ╟──╖╟──╢   328-HRMT│
  5.                      │[Public]  ╙──╜╨  ╨    [HST]  │
  6.                      └─────────────────────────────┘
  7.  
  8.  
  9.                                 05-10-1993
  10.  
  11.                  MODIFY COMMAND.COM for more environment!
  12.                            (Updated for DOS 6.0)
  13.  
  14.  
  15. If, like most of us fellow tinkerers, you like to have a HUGE DOS prompt
  16. and a jillion PATHS and SET commands, you have probably already run upon
  17. the dreaded "OUT OF ENVIRONMENT SPACE" message!
  18.  
  19. Now you can solve that problem PERMANENTLY without any tricks, or the useless
  20. SHELL command supplied with DOS.
  21.  
  22. Simply follow the instructions below and you can patch COMMAND.COM to generate
  23. 512 bytes of precious ENVIRONMENT space rather than the puny little 256 bytes
  24. it spits out in the "stock" version.
  25.  
  26. It's easy.  For DOS 6.0, all you have to do is change the 10H byte at 1767H
  27. to 20H (from sixteen 16-byte paragraphs to thirty-two).
  28.  
  29.  
  30. Here's how:
  31.  
  32. 1.  First copy COMMAND.COM to COMMAND.WRK, or something like that, and edit
  33.        the WORK version only (just in case you screw up).
  34.  
  35. 2.  My version of COMMAND.COM had the READ ONLY attribute set, so you must
  36.        clear the attribute before you can edit.  Type 'ATTRIB -R COMMAND.WRK'.
  37.  
  38. 3.  Type 'DEBUG COMMAND.WRK'
  39.  
  40. 4.  You'll get the DEBUG prompt which is simply a '-'.
  41.  
  42. 5.  Type 'E 1767 20'
  43.  
  44. 6.  Type 'W' to write the changes.
  45.  
  46. 7.  Type 'Q' to exit DEBUG.
  47.  
  48. 8.  SAVE your original copy of COMMAND.COM by renaming it something else.
  49.         Then type 'REN COMMAND.WRK COMMAND.COM'.
  50.  
  51. 9.  Test your handy work by typing 'COMMAND' (the processor will be loaded
  52.         again, THIS time with the big environment).
  53.  
  54. 10. Type 'EXIT' to return to the original.
  55.  
  56. 11. If both 'COMMAND' and 'EXIT' work OK, then you've done it right!
  57.  
  58. 12. Reboot your machine and enjoy the new space, cadets.
  59.  
  60. 13. Send money to The Hermit (me).
  61.  
  62.  
  63.  
  64. The debug addresses for some other versions of DOS are: 
  65.  
  66. MS-DOS 2.xx: 0ECF
  67. MS-DOS 2.11: 0DF3
  68. MS-DOS 3.00: 0F2C
  69. MS-DOS 3.10: 0D
  70. MS-DOS 3.2x: 0D4F
  71. MS-DOS 3.30: 0EB8
  72. COMPAQ 3.31: 0EB8
  73. MS-DOS 5.00: 1666
  74. MS-DOS 6.00: 1767
  75.                                      
  76.